package com.lyc.mapper;

import com.lyc.beans.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

     List<User> getUser();


     int checkUserByAccount(@Param("account") String account);

     //注册添加用户
     void addUser(@Param("user")User user);

     //登录判断
     int login(@Param("user") User user);
}
